﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using NCP.Recruiting.WebApp.Models;
using System.Security.Principal;

namespace NCP.Recruiting.WebApp {
    public static class PrincipalExtensions {
        public static RecruitingIdentity RecruitingIdentity(this IPrincipal principal) {
            return (RecruitingIdentity)principal.Identity;
        }
    }
}